<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>form - submit</title>
</head>
<body>

    <!-- http://www.w3school.com.cn/tags/att_input_type.asp -->
    <!-- http://www.w3school.com.cn/tags/tag_form.asp -->
    <!-- Request URL: http://localhost:63342/Html5Train/code/html/others/demo.html?firstname=a&lastname=b -->
    <form action="../../others/demo.html" method="get">
        First name:<br>
        <input type="text" name="firstname">
        <br>
        Last name:<br>
        <input type="text" name="lastname">
        <br>
        <input type="submit" value="Submit"/> <input type="reset" value="Reset"/>
    </form>
    <hr>

    <form action="../../others/demo.html">
        First name:<br>
        <input type="text" name="firstname">
        <br>
        Last name:<br>
        <input type="text" name="lastname">
        <br>

        <button type="submit" value="Submit">Submit</button>
        <button type="reset" value="Reset">Reset</button>
    </form>
    <br>

</body>
</html>